using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Playables;


[Serializable]
public class CarEntityControlClip : PlayableAsset
{
    [SerializeField]
    public bool enableCarLight;

    public override Playable CreatePlayable(PlayableGraph graph, GameObject owner)
    {
        var playAble = ScriptPlayable<CarEntityControlBehaviour>.Create(graph);
        playAble.GetBehaviour().SetCarLightMode(enableCarLight);
        return playAble;
    }
    
}

